package cn.com.eado.crm.v.adapter

import android.view.View
import androidx.databinding.library.baseAdapters.BR
import cn.com.eado.crm.R
import cn.com.eado.crm.m.db.Company

class RVCompanyAdapter(private val clickCallback: ((view: View, pos: Int, row: Company.Row) -> Unit)? = { view, position, bean -> },
                       private val longClickCallback: ((pos: Int, row: Company.Row) -> Unit)? = { position, bean -> })
    : BaseBindingAdapter<Company.Row>(R.layout.company_item, BR.row, clickCallback, longClickCallback)
